package com.dk.strategy;

public class StrategyContext {
    private CodeStrategyHandler2 codeStrategyHandler;

    public CodeStrategyHandler2 getCodeStrategyHandler() {
        return codeStrategyHandler;
    }

    public void setCodeStrategyHandler(CodeStrategyHandler2 codeStrategyHandler) {
        this.codeStrategyHandler = codeStrategyHandler;
    }

    public String code(String partCode){
        return codeStrategyHandler.code(partCode);
    }
}
